package com.nyc;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Transaction 注解
 * @author niuyicong
 * @date 2025/8/21  8:20:29
 * @description
 */
public class StartApp {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext ac = new ClassPathXmlApplicationContext("applicationContext.xml");
        System.out.println("ac.getBean(\"userService\"):=======" + ac.getBean("userService"));
    }
}
